import {
  prop_cur_req_time,
  prop_cur_req_user_identity,
} from '../../../../../../../Classes/cla_req_cur_headers_info';
import {
  prop_add_type_arr,
  req_info_add_type,
} from '../../../Classes/cla_req_info_add_type';

const sign_log_typeTag = 'sign_log_type';

export class sign_log_type {
  get [Symbol.toStringTag]() {
    return sign_log_typeTag;
  }

  constructor(cur_info: req_info_add_type) {
    this.dueto_time = cur_info[prop_cur_req_time];

    this.user_id = cur_info[prop_cur_req_user_identity];

    this[prop_add_type_arr] = cur_info[prop_add_type_arr];
  }

  dueto_time: string;

  user_id: string;

  [prop_add_type_arr]: string[];
}
